#pragma once

#include "Equipment.h"
#include "Armour.h"
#include "Weapons.h"
#include "Ornament.h"
#include <memory>
#include <cassert>

class EquipmentSlot
{
public:

	Armour _armour;
	Weapons _weapons;
	Ornament _ornament;
	bool _exist[3] = { 0 };

	EquipmentSlot() = default;

	void showEquipmentSlot();

	void upArmour(const Armour& one);

	void down(int pos);

	void upWeapons(const Weapons& one);

	void upOrnament(const Ornament& one);
};

std::ostream& operator<<(std::ostream& out, EquipmentSlot& equip);
std::istream& operator>>(std::istream& in, EquipmentSlot& equip);

